import init from '@dfeidao/web/component';

import s from './s';

import { id } from './config';
import * as params from './config';

import a000 from './a000';
import a001 from './a001';
import a002 from './a002';
import a003 from './a003';
const actions = {
	a000, a001, a002, a003
};

export default function main(url: string, query: {}) {

	return init(id, s, actions, url, query, params);
}
